home *** CD-ROM | disk | FTP | other *** search
/ comtecelectrical.ca / www.comtecelectrical.ca.tar / www.comtecelectrical.ca / infobots / Backup / MSOCache / All Users / 90000409-6000-11D3-8CFE-0150048383C9 / Q2561411.CAB / POWERPNT.EXE / RCDATA / 5956 < prev    next >
Text File  |  2003-07-30  |  954b  |  40 lines

  1. function LoadSld()
  2. {
  3.     var sld=GetObj("SlideObj")
  4.     if( !g_supportsPPTHTML ) {        
  5.         sld.style.visibility="visible"
  6.         return
  7.     }
  8.  
  9.     if( MakeNotesVis() ) return
  10.  
  11.     runAnimations = _InitAnimations();
  12.     
  13.     if( IsWin("PPTSld") )
  14.         parent.SldUpdated(GetSldId())
  15.     g_origSz=parseInt(SlideObj.style.fontSize)
  16.     g_origH=sld.style.posHeight
  17.     g_origW=sld.style.posWidth
  18.     g_scaleHyperlinks=(document.all.tags("AREA").length>0)
  19.     if( g_scaleHyperlinks )
  20.         InitHLinkArray()
  21.     if( g_scaleInFrame||(IsWin("PPTSld") && parent.IsFullScrMode() ) )
  22.         document.body.scroll="no"
  23.     _RSW()
  24.     if( IsWin("PPTSld") && parent.IsFullScrMode() )
  25.         FullScrInit();
  26.     ^0^1^2
  27.     MakeSldVis();
  28.     ^3
  29.     if( runAnimations )
  30.     {
  31.         if( document.all("NSPlay") )
  32.             document.all("NSPlay").autoStart = false;
  33.  
  34.         if( sld.filters && sld.filters.revealtrans )
  35.             setTimeout( "document.body.start()", sld.filters.revealtrans.duration * 1000 );
  36.         else
  37.             document.body.start();
  38.     }
  39. }
  40.